home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / hardware / mouseclock20.lha / MouseClock2.0 / MClk.doc < prev    next >
Encoding:
Text File  |  1995-02-26  |  22.0 KB  |  574 lines

  1.  
  2.                              MouseClock Project
  3.                                  Rev.  2.0
  4.                                  26-Feb-95
  5.                   Copyright (C) 1993-95  Adriano De Minicis
  6.  
  7.  
  8.  
  9. WHAT IS IT?
  10. ===========
  11.  
  12. MouseClock is a hardware/software project of a low cost, very small external
  13. battery backed up clock calendar for all Amigas (especially for A1200, A500,
  14. A600).  It is connected to the mouse port #2.
  15.  
  16.  
  17.  
  18. REQUIREMENTS 
  19. ============
  20.  
  21. It works on all Amigas with OS1.2 or greater (tested on A1200, A2000, A500).
  22. Some practice is required to build MouseClock.  If you have never built an
  23. electronic circuit it's better to ask a friend for help.
  24.  
  25.  
  26.  
  27. CONTENTS
  28. ========
  29.  
  30.  1. Description
  31.  2. Shareware notice - How to register
  32.  3. Distribution
  33.  4. Disclaimer
  34.  5. Usage of MouseClock (hardware)
  35.  6. Usage of SetMClock (software)
  36.  7. Error messages and suggestions
  37.  8. Hardware description
  38.  9. Construction
  39. 10. Calibration
  40. 11. Thanks
  41. 12. Changes from v1.22 to 2.0
  42.  
  43.  
  44. 1. DESCRIPTION
  45. ==============
  46.  
  47. MouseClock, as stated before, is a very small external clock connected to
  48. the mouse port #2 (GamePort).
  49.  
  50. There are two versions of MouseClock:
  51.  
  52. - The base version is very small, but you can't connect a joystick unless
  53.   you remove the clock.
  54.  
  55. - The pass-through version has an auxiliary connector for the joystick and
  56.   a switch to select between MouseClock and the joystick. The circuit
  57.   consists of the base version plus few parts. The only drawback is that
  58.   it's a little bigger (about 5 x 5.5 cm instead of 5 x 3.5 cm)
  59.  
  60. The advantages of an external clock are:
  61.  
  62. - Installing it does not void warranty.
  63.  
  64. - It is compatible with all Amigas: if, for example, you have an A500 and
  65.   you plan to buy an A1200 you can move MouseClock from one computer to
  66.   the other in a few seconds.
  67.  
  68. - It may be used as an emergency replacement for a damaged internal clock.
  69.  
  70. Someone may suppose that external is cumbersome and/or occupies the
  71. joystick port:
  72.  
  73. - It's very small (the dimensions of my prototype on veroboard are: 
  74.   44 x 35 x 16 millimeters).
  75.  
  76. - Adding a few parts you can build a "pass through" joystick version.
  77.   With a switch you select MouseClock or the joystick.
  78.  
  79. - If you own an A1200 you can install MouseClock internally without
  80.   opening your Amiga. How? Simply put it inside the rear opening under
  81.   the disk drive (see the picture file "DemoPic1" for more infos)
  82.  
  83. How much it costs?
  84.  
  85. - Much less than an internal clock: components cost about 15$
  86.  
  87. This archive contains the documentation (this file) and the software
  88. (SetMClock) to read/write the clock (included source in assembler).
  89. The circuit diagram and the detailed mounting plan will be sent to you on
  90. receipt of the shareware donation (see Distribution).
  91.  
  92.  
  93.  
  94. 2. SHAREWARE NOTICE - HOW TO REGISTER
  95. =====================================
  96.  
  97. MouseClock is SHAREWARE. If you send me the shareware fee, you'll receive
  98. all the informations necessary to build MouseClock:
  99.  
  100. - Circuit diagrams of both versions
  101.  
  102. - A detailed mounting plan for prototyping boards (veroboards) (base version)
  103.  
  104. - A high resolution (360 DPI) layout of the PCB of both versions, printed
  105.   in three different modes:
  106.   
  107.   1:1 direct reading (view from the copper side) for those of you
  108.       using transfer symbols.
  109.        
  110.   1:1 and 2:1 mirrored (view from the components side) for those of
  111.       you using photoresist boards.
  112.  
  113. - A detailed mounting plan for the PCB
  114.  
  115. Why is this project shareware?.  Because I've spent much more time to write
  116. the documentation, diagrams, and rewriting in assembly SetMClock (originally
  117. in GFA Basic: 17KB compiled!) than to design and build the prototype for my
  118. new A1200.  I think that the fee is quite reasonable.
  119.  
  120. In spite of the scarce interest deserved to my project, and the work
  121. I've done to add the PCB layout, I've decided to leave the registration
  122. fee unchanged.
  123.  
  124.  
  125. ABOUT FINDING THE CLOCK CHIP
  126.  
  127. The most important (and also the most expensive) component of MouseClock
  128. is the clock chip, (M 8716 produced by SGS-Thomson). Some people had
  129. problems finding this chip, and asked me if I can send it.
  130.  
  131. For this reason now I suggest you to search the chip (in a well furnished
  132. shop or in a Radio-TV spare-parts shop (the chip is used in VCRs)) before
  133. register to MouseClock. If you can't find it, you may order it to me with
  134. an extra cost (since it costs me time and money to go to buy or mail-order
  135. some chips, and I don't want to mantain a large stock of them, because of
  136. the scarce interest deserved to this project).
  137.  
  138.  
  139. IMPORTANT NOTES:
  140.  
  141. I can provide ONLY the M 8716. Don't ask me for other components (they are
  142. easy to find) or printer circuit boards. 
  143.  
  144. If you live in Italy the chip is easily found through mail-order (through
  145. Heltron-Bologna, the distributor of components used by Nuova Elettronica)
  146. or shops (you'll get all infos when registering), so I strongly recommend
  147. all the Italian users to buy themselves the chip (you'll save money!).
  148.  
  149. The chip offer is valid ONLY for orders received before 1 March 1996, and
  150. ONLY if you are a registering/registered user of my project. You may order
  151. a maximum of 2 chips. 
  152.  
  153. After 1 March 1996 I'll support only registration to MouseClock, not the
  154. chip (unless you find a new release of MouseClock with different 
  155. instructions) so please don't send money for the chip after this date.
  156.  
  157. WARNING: The clock chip is a CMOS type, sensitive to electrostatic charges,
  158.          so handle with care. Be sure to discharge your body (touch a ground
  159.          plane) before handling the chip. The chip will be packed in a 
  160.          antistatic tube.
  161.  
  162.  
  163. PRICE LIST
  164. ----------
  165.  
  166. - REGISTRATION 
  167.   Includes schematics, pcb layout, mounting plans.. (see above)
  168.   10000 Lit,   7 US$,  12 DM
  169.  
  170. - REGISTRATION + CLOCK CHIP (valid only for orders received before 1 Mar 96)
  171.   22000 Lit,  15 US$,  25 DM   for 1 chip
  172.   34000 Lit,  23 US$,  38 DM   for 2 chips
  173.   
  174. - CLOCK CHIP (ONLY for registered users, and before 1 Mar 96)
  175.   15000 Lit,  10 US$,  16 DM   for 1 chip
  176.   27000 Lit,  18 US$,  29 DM   for 2 chips
  177.  
  178. Before ordering the chip to me, PLEASE try to find it yourself in a well
  179. furnished shop or in a Radio-TV spare-parts shop (the chip is used in VCRs).
  180. If you live in Italy the chip is easily found through mail-order or in many
  181. shops (I give you all the infos with the schematics, to avoid advertising
  182. here).
  183.  
  184.  
  185. HOW TO SEND ME MONEY
  186. -------------------- 
  187.  
  188. - International Money Order in Italian Lire (Lit). 
  189.   Make sure I receive Italian Lire (the exchange is done at your post office).
  190.  
  191. - Cash (Lit, US$ or DM, which you prefer)
  192.   Cash payment is at your risk. Use two envelopes for safety's sake.
  193.   Please send paper money, NOT coins since I can't exchange them.
  194.  
  195. DO NOT SEND Cheques, US or Canadian Postal orders, COD, ... , because I
  196. can't cash them. Use only International Money Order or cash. Thank you.
  197.  
  198.  
  199. HOW TO ORDER
  200. ------------
  201.  
  202. Send me the money in one of the way above indicated. Remember to specify
  203. your address (also e-mail if you have) and for what is the money
  204. (registration / chip ordering..), adding "MouseClock" as cause (because
  205. I'll publish soon another shareware project..).
  206.  
  207. If you want, tell me for which type of Amiga you'll use my project
  208. and if you are interested in the base or pass-through version (you'll
  209. receive in any case the full docs for both versions).
  210.  
  211. If you order the chip allow two-three weeks from the receipt of your order
  212. to the dispatch. If you only register, it's faster, since I usually send
  213. the docs one or two days after your registration.
  214.  
  215. My address is:
  216.  
  217.        Adriano De Minicis
  218.        Via Latisana 37
  219.        33054 Lignano Sabbiadoro  UD
  220.        ITALY
  221.  
  222.        e-mail: MC4948@mclink.it
  223.  
  224.  
  225. 3. DISTRIBUTION
  226. ===============
  227.  
  228. The files in this archive may be copied and distributed freely (also on
  229. networks and CD-ROMs) as long as all the files remain unmodified and intact,
  230. and as long as there is no charge for them except a reasonable copying and
  231. media fee.
  232.  
  233. The drawings you will receive sending me the shareware donation are
  234. Copyrighted by Adriano De Minicis and MUST NOT BE DISTRIBUTED (in any form).
  235.  
  236. You are not allowed to sell MouseClock in commercial way (contact me for
  237. agreements).
  238.  
  239.  
  240.  
  241. 4. DISCLAIMER
  242. =============
  243.  
  244. SetMClock sets as outputs some lines of the mouse port #2 (GamePort).
  245. Remove any peripheral from that connector before running SetMClock, to avoid
  246. damages to the peripheral and/or the Amiga.  Note: when SetMClock ends, the
  247. mouse port returns to the standard configuration.
  248.  
  249. It is possible to connect a joystick to an auxiliary connector if you'll
  250. build the pass-through version of MouseClock (only few additional parts
  251. required).
  252.  
  253. WARNING
  254. -------
  255. NEVER insert or remove MouseClock when the Amiga is on, especially if you
  256. haven't removed the metallic shield of the DB9 connector of MouseClock.  
  257. In fact, pin 7 and 8 (+5V, GND) of the mouse port may be shorted by the
  258. metallic shield of the other connector, shorting the Amiga!.  I STRONGLY
  259. SUGGEST to cut the metallic shield from the DB9 female connector of
  260. MouseClock (not Amiga!).  If you'll do this, there is no risk to short the
  261. Amiga, however is always better not to insert/remove MouseClock when the
  262. Amiga is on.
  263.          
  264. If you use an alkaline or lithium battery instead of the NiCd accumulator
  265. (only from Rev.2.0) be sure to modify the circuit as stated in the
  266. drawings. Alkaline and especially lithium batteries may EXPLODE if charged!
  267.  
  268.  
  269. I CANNOT BE HELD RESPONSIBLE FOR ANY KIND OF DAMAGE CAUSED BY THIS PROJECT.
  270.                  BUILD AND USE IT AT YOUR OWN RISK..ETC...
  271.  
  272.  
  273.  
  274. 5. USAGE OF MouseClock (hardware)
  275. =================================
  276.  
  277. Using MouseClock is simple: connect it to the mouse port #2 (gameport)
  278. when the Amiga is off (read the warning notes above!).
  279.  
  280. Base version of MouseClock
  281. --------------------------
  282. Simply use SetMClock to access the clock (see below).
  283.  
  284. Pass-through version of MouseClock
  285. ----------------------------------
  286. This version allows you to connect a joystick (not an analog joystick or
  287. paddle) to the auxiliary DB9 connector.
  288. Set the switch to the 'Clock' position before calling SetMClock (otherwise
  289. SetMClock doesn't see the clock!). No damage occurs if you use a joystick
  290. when the switch is in the 'Clock' position or vice versa.
  291.  
  292.  
  293.  
  294. 6. USAGE OF SetMClock (software)
  295. ================================
  296.  
  297. SetMClock is the software to set the system time from MouseClock or vice
  298. versa.  It's the replacement of SetClock.  Being written 100% in assembler,
  299. it is quite compact (about 3K).
  300.  
  301. SetMClock requires the file "MClock.upd" (4 bytes) in the directory "S:" to
  302. work properly.  This file is created the first time with the option 'save'.
  303. It is necessary because the clock chip I've used doesn't save the year,
  304. which must be saved on disk.  The year is automatically updated comparing
  305. the current date with the date stored in the file (day, month any year of
  306. the last 'save').  If the current date (read from MouseClock) precedes the
  307. date stored in the file, then the year must be increased.  The only
  308. situation that can cheat MouseClock is when the computer remains off from
  309. the beginning of the new year to the month and day stored in the file.  For
  310. example, if "MClock.upd" contains '15 Jan 1993' and MouseClock reads '10
  311. Jan', then year is 1994; but if MouseClock reads '15 Jan' or later the year
  312. is 1993, with the exception above mentioned.  To avoid this situation,
  313. update the clock for example at the end of January, so that SetMClock has an
  314. entire month to notice that the year is changed.
  315.  
  316. If you don't have a hard-disk, it's better to copy the file "S:MClock.upd"
  317. in all the boot disks that make use of SetMClock.
  318.  
  319. WARNING: Do not run SetMClock if a peripheral other than MouseClock is
  320.          connected to the mouse port #2. See the Disclaimer chapter.
  321.  
  322. NOTE: Do not run multiple copies of SetMClock since they interfere, giving
  323.       wrong results (but there is no damage).
  324.  
  325.  
  326. CLI/Shell Usage
  327. ---------------
  328. SetMClock load     Set system time/date from MouseClock. Requires file 
  329.                    "S:MClock.upd".
  330.                    If you want to set system time every time you boot
  331.                    the Amiga, include this command in the startup-sequence
  332.                    (or user-startup).
  333.  
  334. SetMClock save     Store system time/date into MouseClock and into the file
  335.                    "S:MClock.upd" (creating it if it doesn't exist).
  336.                    Use the AmigaDOS command 'date' or the 'Time' prefs
  337.                    (WB 2.0 or higher) to set the system time. Example:
  338.  
  339.                      date 1-jun-93 12:34
  340.                      setmclock save
  341.  
  342.                    Note: when saving, seconds are reset. To reduce the
  343.                    error, wait for seconds being near zero before running
  344.                    SetMClock (or use the 'zero' option to correct seconds).
  345.  
  346. SetMClock zero     Reset seconds of MouseClock. If the seconds counter was
  347.                    at position 30..59, time is advanced by one minute
  348.                    (seconds are always reset).
  349.  
  350. SetMClock          Shows some help.
  351.  
  352.  
  353. WorkBench Usage
  354. ---------------
  355. Use a project icon which default tool is "SetMClock" (with path) and which
  356. tooltypes are:
  357.  
  358. MODE=load  \
  359. MODE=save   } Use ONLY ONE of this (equivalent to CLI option)
  360. MODE=zero  /
  361.  
  362. The default tooltype is 'load'.
  363.  
  364. You can use the three icons I've supplied as examples. Attention: if you
  365. move SetMClock to another directory (for example C:) you must modify the
  366. default tool of those icons, including the complete path to SetMClock.
  367.  
  368. It's useful to start SetMClock from WB if you have booted the Amiga
  369. from a disk that doesn't call SetMClock in the startup-sequence.
  370.  
  371.  
  372.  
  373. 7. ERROR MESSAGES AND SUGGESTIONS
  374. =================================
  375.  
  376. Can't find battery backed up clock
  377. ----------------------------------
  378. MouseClock is not connected to the mouse port #2, or it doesn't work.
  379. If you have the joystick version of MouseClock probably the switch is
  380. not set to the 'clk' position.
  381.  
  382. Battery backed up clock not set
  383. -------------------------------
  384. MouseClock is found, but date and time are not set. This happens every time
  385. the battery power fails, and thus also the first time.
  386. If this error occurs every time you switch off the Amiga, then the battery
  387. may be low or not connected. Check it (battery voltage must be greater than
  388. 2.2V).
  389.  
  390. Can't open S:MClock.upd
  391. -----------------------
  392. File "S:MClock.upd" does not exist or can't be opened.
  393.  
  394. Can't save S:MClock.upd
  395. -----------------------
  396. Probably the system disk is write protected.
  397.  
  398. Bad data in S:MClock.upd
  399. ------------------------
  400. Garbage found in "S:MClock.upd". Restore with SetMClock save.
  401.  
  402.  
  403.  
  404. 8. HARDWARE DESCRIPTION
  405. =======================
  406.  
  407. To reduce the number of I/O lines (so that MouseClock can be connected to the
  408. mouse port instead of the parallel port) I've used a clock chip with the I²C
  409. bus (IC1, M 8716 produced by SGS-Thomson).  The other chip (IC2) interfaces
  410. the Amiga and the I²C bus.  Diodes D1 and D2, connected to the I²C feedback
  411. lines, avoid an excessive current flow from the battery to the Amiga when the
  412. Amiga is off.  If the diodes are shorted, the current drawn from the battery
  413. would be much higher than the current consumption of IC1, descharging the
  414. battery too quickly.
  415.  
  416. From rev. 2.0 you can also use a cheaper alkaline (2 x 1.5V) or lithium
  417. battery instead of the NiCd accumulator. In those case there is a slight
  418. modification of the circuit, using two low drop schottky or germanium
  419. diodes (you may try with normal silicon diodes like 1N4148, but the circuit
  420. may not work (no damage)).
  421.  
  422.  
  423. 9. CONSTRUCTION
  424. ===============
  425.  
  426. This section refers to drawings that you'll receive with registration.
  427. From rev. 2.0 there is a PCB (printed circuit board) layout for both
  428. versions of MouseClock: if you want to build the pass-through version
  429. use the entire part of the PCB, otherwise simply strip the unneeded
  430. part (see drawings). Track layout is printed in three different modes:
  431.  
  432.    1:1 direct reading (view from the copper side) for those of you
  433.        using transfer symbols.
  434.        
  435.    1:1 and 2:1 mirrored (view from the components side) for those of
  436.        you using photoresist boards.
  437.  
  438. If you don't want to make a PCB, there is still the mounting plan for
  439. veroboard (in this case only for the base version, since the modifications
  440. required to add "joystick extension" are very simple and can be made with
  441. flying wires). I suggest to use a thin wire-wrap wire (for example AWG 28)
  442. to make the connections.
  443.  
  444. Once you've decided which version you want to build, you must decide the
  445. battery type:
  446.  
  447.    a) Rechargeable 2.4V NiCd or NiMH (default, the type I suggest)
  448.    
  449.    b) Not rechargeable 3V: they must be changed when discharged.
  450.       The energy absorbed by MouseClock is about 50 mAh/year (for example
  451.       a battery of 200 mAh will last 4 years)
  452.       Modify the circuit as shown (replace R1,R2 and T1 by D3 and D4)
  453.  
  454.       b1) Alkaline: cheap and easy to find (2 x 1.5V) but very big compared
  455.           to the circuit.
  456.  
  457.       b2) Lithium: cheaper than NiCd but must be treated with great care
  458.  
  459.       b3) Normal carbon-zinc (2 x 1.5V): the cheapest and easier to find,
  460.           but big and having high self leakage, so will probably last only
  461.           one year. If you plan to use MouseClock for a limited period
  462.           (waiting to buy a memory-turbo-board with clock) it's the
  463.           cheapest solution.
  464.  
  465. If you use a NiCd, NiMH or lithium battery you must ensure that it fits
  466. on the PCB, otherwise you've to modify the track layout. The maximum
  467. diameter is about 20 mm. I've used a NiCd cell or about 15 mm diameter,
  468. 7 mm height. You can use the mounting plan drawing as a reference when
  469. buying, since it has 1:1 scale.
  470.  
  471. Also important is the dimension of the compensator C2 to fit on the PCB.
  472. You may also replace it with a fixed capacitor between 15 and 27 pF.
  473. In this case you can't calibrate the clock (but it is quite precise: I've
  474. used the compensator, but never calibrated it!)
  475.  
  476. And now let's go!
  477.  
  478. I suggest to use sockets for the two ICs, and to cut with a hack-saw the
  479. metallic shield of the DB9 female connector.
  480.  
  481. Start by fitting the sockets, wire links, the two pins for the jumper, all
  482. resistors and capacitors, the quartz, and the transistor (if required).
  483. Next fit the diodes and the DB9 connector. Do not mount the battery. 
  484.  
  485. If you're building the pass-through version prepare the 8 conductors cable,
  486. and solder the DB9 female at one of the ends (see drawings). Solder the other
  487. end of the cable at the corresponding points of the PCB, being sure not to
  488. swap wires (swapping 7 and 8 destroy MouseClock and can damage the Amiga,
  489. so check twice!). Then solder the switch (S1) (PCB or panel type).
  490.  
  491. Make a first check of all connections, making sure that there are no short
  492. circuits, expecially between the 5V line and ground (pins 7 and 8 of the
  493. DB9 connector). A short circuit between these lines can damage your Amiga.
  494. Be careful!. Don't be in a hurry to test the clock!
  495.  
  496. When you are sure that it's all ok, mount the battery (with the jumper not
  497. inserted).  Make sure not to short the battery (use a insulated cable to
  498. connect the negative pin of the battery, and don't lean the circuit on
  499. metallic objects:  NiCd batteries don't like to be shorted!).  Make a second
  500. check of all connections.  If there are no errors, insert the two integrated
  501. circuits in their sockets, making sure they have the correct orientation and
  502. they are not swapped.
  503.  
  504. WARNING: The clock chip (IC1) is a CMOS type, sensitive to electrostatic
  505.          charges, so handle with care. Be sure to discharge your body
  506.          (touch a ground plane) before handling the chip.
  507.  
  508. Another check, and then insert the jumper (that supplies the circuits).  If
  509. you have built the joystick version set the switch to the 'clock' position.
  510. Switch off the Amiga, connect MouseClock to the mouse port #2, and switch on
  511. the Amiga.  From the WB, double click on the ClkLoad icon: if appears the
  512. requester "Can't find battery backed up clock" you have done some error in
  513. the circuit.  Switch off the Amiga, and check the circuit (may be the switch
  514. is not in the 'clk' position).  If the circuit works properly you should see
  515. the requester "Battery backed up clock not set" or "Can't open
  516. S:MClock.upd".  Try to double click on the ClkSave icon: there shouldn't be
  517. any message.  Retry with ClkLoad: if no message appears it's all O.K.,
  518. congratulations!.  To see how to use SetMClock or for an explanation of the
  519. error messages see the respective sections of this doc.
  520.  
  521. If the circuit doesn't work and you can't find the error, check if there is
  522. a 1Hz square wave between pin 5 of IC1 and ground. If there isn't then
  523. the quartz oscillator doesn't work: try adjusting the compensator.
  524.  
  525. NOTE: The NiCd battery is probably discharged when you build MouseClock.
  526.       To recharge the battery leave the computer on for some hours (the
  527.       charge time is usually 14 hrs, but it isn't necessary to leave the
  528.       Amiga on for all that time, if you often use the Amiga).
  529.       If you have a NiCd battery charger you can recharge the battery
  530.       with it before soldering the battery to the circuit.
  531.  
  532. Have a good work!  :-)
  533.  
  534.  
  535.  
  536. 10. CALIBRATION
  537. ===============
  538.  
  539. The calibration of the circuit can be omitted, since the clock is quite 
  540. precise. For this reason you may replace the compensator with a fixed
  541. capacitor.
  542.  
  543. If you have a frequency meter with good resolution at low frequencies (must
  544. display fractions of Hertz), adjust the compensator until you read exactly
  545. 128 Hz on pin 8 of IC1.
  546.  
  547. If you don't have a frequency meter, the procedure is longer: if you notice
  548. that the clock is too fast or slow after a week, turn the compensator a
  549. little in one direction.  After another week check the error: if it is
  550. decreased, the direction of the rotation is correct, otherwise, turn the
  551. compensator in the opposite direction.  Many adjustments are needed to
  552. reduce the error.
  553.  
  554.  
  555.  
  556. 11. THANKS
  557. ==========
  558.  
  559. I wish to thank Roberto Borri for his suggestions and debugging,
  560. all the registered users, Fred Fish for his great PD-collection, 
  561. and the Commodore-Amiga for this wonderful computer.
  562.  
  563.  
  564. 12. CHANGES FROM v1.22 TO 2.0
  565. =============================
  566.  
  567. Revised: this doc, shareware drawings (now completely redrawn, printed
  568.          in high resolution (360 DPI) with a inkjet printer)
  569.  
  570. Added: new demo picture, MagicWB icons for the program, PCB layout for both
  571.        version (registering), possibility to use not-rechargeable batteries.
  572.  
  573. The clock program (SetMClock) is unchanged.
  574.